﻿'pablo beloso

Public Class producto
    Private id_Producto As String
    Private nombre As String
    Private precio As String
    Private id_categoria As String

    Public Property pid() As Integer
        Get
            Return id_Producto
        End Get
        Set(ByVal value As Integer)
            id_Producto = value
        End Set
    End Property
    Public Property pid1() As String
        Get
            Return nombre
        End Get
        Set(ByVal value As String)
            nombre = value
        End Set
    End Property
    Public Property pid2() As String
        Get
            Return precio
        End Get
        Set(ByVal value As String)
            precio = value
        End Set
    End Property
    Public Property pid3() As Integer
        Get
            Return id_categoria
        End Get
        Set(ByVal value As Integer)
            id_categoria = value
        End Set
    End Property
End Class
